package demo01;

public class Chengxu03 {
	public static void main(String[] args) {
		for(int i = 100; i <= 999; i++){
			int ge = i % 10;
			int shi = i / 10 % 10;
			int bai = i / 100;
			int sum = ge * ge * ge + shi * shi * shi + bai * bai * bai;
			if(i == sum){
				System.out.println(i);
			}
		}
	}
}
